package com.ice.work.moment.ticket.dao.cookie;

import com.ice.work.moment.facade.ticket.model.Cookie;

/**
 * @Description Cookie dao
 * @Author DELL
 * @Create 2019-01-10
 * @Since 1.0.0
 */
@SuppressWarnings("all")
public interface ICookieRepository {

  Cookie findByLoginNameAndDataStatus(String loginName,Integer dataStatus);

  Cookie findByAppKeyAndDataStatus(String appKey,Integer dataStatus);

  int deleteByAppKey(String appKey);
}
